package com.dreamtour.service.impl;

import com.dreamtour.entity.Cities;
import com.dreamtour.mapper.CitiesMapper;
import com.dreamtour.service.ICitiesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xls
 * @since 2024-12-24
 */
@Service
public class CitiesServiceImpl extends ServiceImpl<CitiesMapper, Cities> implements ICitiesService {
    @Autowired
    private CitiesMapper citiesMapper;

    public List<Map<String, Object>> getCityDistribution() {
        return citiesMapper.getCityDistribution();
    }
}
